package com.webreport.model.db;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;
@Entity
@Table(name="ru")
@IdClass(RoleUserId.class)
public class RoleUser implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	@Id	@Column(nullable=false, length=50,name="a")
	private String rolename;
	@Id	@Column(nullable=false, length=50,name="b")
	private String username;
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}	
	
}
